package com.heima.infrastructure.persistent.dao;
import com.heima.infrastructure.persistent.po.StrategyAward;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;


/**
 * @author shixinrui
 * @description 抽奖策略奖品明细配置 - 概率、规则 DAO
 * @create 2024/12/24 17:51
 */

@Mapper
public interface IStrategyAwardDao {


    List<StrategyAward> queryStrategyAwardList();

    List<StrategyAward> queryStrategyAwardListByStrategyId(Long strategyId);

    String queryStrategyAwardRuleModels(StrategyAward strategyAward);

    void updateStrategyAwardStock(StrategyAward strategyAward);

    StrategyAward queryStrategyAward(StrategyAward strategyAwardReq);

}

